package com.ruoyi.teaching.service;

import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.teaching.domain.PlatformFForum;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.teaching.domain.vo.PlatformFForumVO;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 王旭
 * @since 2024-10-14
 */
public interface PlatformFForumService extends IService<PlatformFForum> {

    AjaxResult forumList(Integer pageNum, Integer pageSize, Integer zoneId, String message, Integer type);

    AjaxResult forumCommentList(Integer forumId, Integer pageNum, Integer pageSize);

    AjaxResult ownCommentList(Integer pageNum, Integer pageSize, Integer type);

    AjaxResult addForumComment(PlatformFForumVO platformFForumVO);

    AjaxResult deleteForumComment(Long[] ids);

    AjaxResult myForumList(Integer pageNum, Integer pageSize, Integer zoneId, String time);

    AjaxResult detail(Integer forumId, Integer type,Integer pageNum, Integer pageSize);

    AjaxResult backForumList(Integer pageNum, Integer pageSize, String title, String createBy, Integer zoneId);
}
